<%@ taglib prefix="sky" uri="SkyTagLibrary" %>
<%@ page import="act.impl.FlightsFormObject" %>
<%@ page import="dao.tro.Flight" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%
    FlightsFormObject flightsFormObject = (FlightsFormObject)request.getAttribute("TransferObject");
%>
<div id="content">
    <% for(Flight flight: flightsFormObject.getFlights()) { %>
        <sky:insertSingleFlight flight="<%= flight %>"></sky:insertSingleFlight>
    <% } %>
</div>